<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" template="/template/template_dialog.xhtml"
	xmlns:s="http://sduept.security.el/func">
	<ui:define name="head">
		<link rel="stylesheet" href="/resources/plugins/datatables/dataTables.bootstrap.css" />
		<style>
</style>
		<title>异常告警</title>
	</ui:define>
	<ui:define name="content">
		<div class='full-center-content-scroll-noheader'>
			<p:dataTable emptyMessage="无记录" value="#{webAlarmMessageReciveController.alarms}" var="item"
				style="width:100%;padding:10px;">
				<p:column headerText="告警内容" style="width:700px;">
					<h:outputText value="#{item.content}" />
				</p:column>
				<p:column headerText="告警时间">
					<h:outputText value="#{item.createTime}">
						<f:convertDateTime pattern="yyyy-MM-dd HH:ss:mm" />
					</h:outputText>
				</p:column>
				<p:column headerText="告警类型">
					<h:outputText value="#{webAlarmMessageReciveController.getTypeDescription(item.msgType)}" />
				</p:column>
			</p:dataTable>
		</div>
	</ui:define>
	<ui:define name="contentend">
		<script src="/resources/plugins/datatables/jquery.dataTables.js"></script>
		<script src="/resources/plugins/datatables/dataTables.bootstrap.min.js"></script>
		<script src="/resources/js/tables/mytable.js"></script>
	</ui:define>
</ui:composition>
